
package com.compuvest.web;

/**
 *
 * @author vasil
 */

public class Category implements java.io.Serializable {

    private int categoryID;
    private int parent;
    private String name = null;
    private int itemsInCategory;

    public Category() {
	this(0, 0, "", 0);
    }

    public Category(int categoryID, int parent, String name, int itemsInCategory) {
	this.categoryID = categoryID;
	this.parent = parent;
	this.name = name;
	this.itemsInCategory = itemsInCategory;
    }

    public int getCategoryID()		{ return categoryID; }
    public int getParent()		{ return parent; }
    public String getName()		{ return name; }
    public int getItemsInCategory()	{ return itemsInCategory; }

}
